package intelligent_driver;

import javax.swing.JFrame;

import nagel_schreckenberg.Panel;

public class Frame extends JFrame{

	public Frame(String windowTitle){
		super(windowTitle);
		setSize(400, 400);
        setLocation(400, 200);      
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
	}
	
	public void addPanel(Panel p){
		this.setContentPane(p);
	}
}
